import { IsNotEmpty } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class CreateDoctorDto {
  @ApiProperty({ description: '医生姓名', example: '张三' })
  @IsNotEmpty()
  name: string;

  @ApiProperty({ description: '医生学历', example: '本科' })
  @IsNotEmpty()
  education: string;

  @ApiProperty({ description: '医生毕业院校', example: 'XX 大学' })
  @IsNotEmpty()
  graduationSchool: string;

  @ApiProperty({ description: '医生证书名称', example: '执业医师证书' })
  @IsNotEmpty()
  certificateName: string;

  @ApiProperty({
    description: '医生证书文件路径或 URL',
    example: 'https://example.com/certificate.pdf',
  })
  @IsNotEmpty()
  certificateFile: string;
}
